package com.lianrui.app.member.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lianrui.app.member.dao.IMemberDao;
import com.lianrui.app.member.domain.Member;
import com.lianrui.app.member.service.IMemberService;
import com.lianrui.app.member.vos.MemberPage;
import com.lianrui.commons.exception.BusinessException;
import com.lianrui.core.AbstractService;
import com.lianrui.core.IDao;

@Service("memberService")
public class MemberService extends AbstractService<MemberPage, Member, Integer> implements IMemberService {
	
	private static final long serialVersionUID = 1L;

	private static final Logger LOGGER = LoggerFactory.getLogger(MemberService.class);
	
	@Autowired
	IMemberDao memberDao;
	
	@Override
	public IDao<MemberPage, Member, Integer> getDao() throws BusinessException {
		return memberDao;
	}

	@Override
	protected Logger getLogger() {
		return LOGGER;
	}


}
